package com.ruoyi.wfshou.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 加工技术类项目对象 proj_process
 * 
 * @author zongying
 * @date 2023-06-19
 */
public class ProjProcess extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private Long projId;

    /** 加工技术编号 */
    private Long procId;

    /** 所属部门编号 */
    @Excel(name = "所属部门编号")
    private Long deptId;

    /**  产品编号 */
    @Excel(name = " 产品编号")
    private Long prodId;

    @Excel(name = "项目名称")
    private String projName;
    @Excel(name = "项目负责人")
    private Long userId;
    @Excel(name = "所属部门名称")
    private String deptName;
    @Excel(name = "产品名称")
    private String prodName;
    @Excel(name = "加工技术名称")
    private String procName;
    /** 加工损耗率  */
    @Excel(name = "加工损耗率 ")
    private BigDecimal procLoss;

    /** 加工成本 */
    @Excel(name = "加工成本")
    private BigDecimal procCost;

    public void setProjId(Long projId) 
    {
        this.projId = projId;
    }

    public Long getProjId() 
    {
        return projId;
    }
    public void setProcId(Long procId) 
    {
        this.procId = procId;
    }

    public Long getProcId() 
    {
        return procId;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setProdId(Long prodId) 
    {
        this.prodId = prodId;
    }

    public Long getProdId() 
    {
        return prodId;
    }
    public void setProcLoss(BigDecimal procLoss) 
    {
        this.procLoss = procLoss;
    }

    public BigDecimal getProcLoss() 
    {
        return procLoss;
    }
    public void setProcCost(BigDecimal procCost) 
    {
        this.procCost = procCost;
    }

    public BigDecimal getProcCost() 
    {
        return procCost;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("projId", getProjId())
            .append("procId", getProcId())
            .append("deptId", getDeptId())
            .append("prodId", getProdId())
            .append("procLoss", getProcLoss())
            .append("procCost", getProcCost())
            .toString();
    }
}
